Ext.define('eView.view.eview.MainListExtra', {
	extend: 'Ext.form.Panel',
	alias: 'widget.mainlistextra',
	width: '100%',
	height: 400,
	buttonAlign: 'center',
	initComponent: function() {    
	
		this.items = [{
			xtype: 'textfield',
			fieldLabel: 'Name*',
			padding: '5 5 5 15',
			width: 400,
			value: '',
			name: 'THENAME'
		},{
			xtype: 'combobox',
			fieldLabel: 'Group',
			padding: '5 5 5 15',
			width: 400,
			value: '',
			name: 'THEGROUP'
		},{
			xtype: 'numberfield',
			fieldLabel: 'Rows per page',
			padding: '5 5 5 15',
			width: 400,
			value: 50,
			minLength: 1,
			name: 'ROWSPERPAGE'
		},{
			xtype: 'textareafield',
			fieldLabel: 'Header',
			padding: '5 5 5 15',
			width: 400,
			value: '',
			name: 'THEHEADER'
		},{
			xtype: 'textareafield',
			fieldLabel: 'Footer',
			padding: '5 5 5 15',
			width: 400,
			value: '',
			name: 'THEFOOTER'
		},{
			xtype: 'combobox',
			fieldLabel: 'Pre-process',
			padding: '5 5 5 15',
			width: 400,
			value: 'NA',
			name: 'PREPROCESS'
		},{
			xtype: 'combobox',
			fieldLabel: 'Post-process',
			padding: '5 5 5 15',
			width: 400,
			value: 'NA',
			name: 'POSTPROCESS'
		}];
		
		this.buttons = [{
			text: 'Save',
			padding: 10,
			action: 'saveeview'
		}]
	 
		this.callParent(arguments);
	}
})
